package cn.dancepeak.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    private Long id;
    @Excel(name = "姓名",width = 20)
    private String name;
    @Excel(name = "年龄",width = 20)
    private Integer age;
    @Excel(name = "性别",width = 20,replace = {"男_1","女_0"})
    private String sex;
    //职业
    @Excel(name = "职业",width = 20)
    private String position;
    //学科
    @Excel(name = "学科",width = 20)
    private String subject;
}
